/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.achieve.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.achieve.entity.Achievement;
import com.jeeplus.modules.achieve.mapper.AchievementMapper;

/**
 * 业绩记录Service
 * @author w
 * @version 2021-08-31
 */
@Service
@Transactional(readOnly = true)
public class AchievementService extends CrudService<AchievementMapper, Achievement> {

	public Achievement get(String id) {
		return super.get(id);
	}
	
	public List<Achievement> findList(Achievement achievement) {
		return super.findList(achievement);
	}
	
	public Page<Achievement> findPage(Page<Achievement> page, Achievement achievement) {
		return super.findPage(page, achievement);
	}
	
	@Transactional(readOnly = false)
	public void save(Achievement achievement) {
		super.save(achievement);
	}
	
	@Transactional(readOnly = false)
	public void delete(Achievement achievement) {
		super.delete(achievement);
	}
	
}